package com.dk.service;

import com.dk.pojo.Publisher;
import com.dk.vo.PublisherVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface PublisherService {

    PageInfo<PublisherVo> selectUser(Publisher publisher, Integer pageNum, Integer pageSize);

    void addUser(Publisher publisher);

    Publisher updateInfo(Integer pubId);

    void updateAll(Publisher publisher);

    void deleteInfo(Integer pubId);

    List<Publisher> getInfo();

    List<Publisher> selectPublishers();
}
